package com.gyf.mybatis.sqlsession;

import java.util.List;

public interface SqlSession {

    <T> List<T> selectList(String statementId, Object... params) throws Exception;

    <T> T selectOne(String statementId, Object... params) throws Exception;

    <T> T getMapper(Class<?> mapperCls);
}
